
import React,{Component} from 'react';


export default class RecordsStatistics extends Component{
    render(){
        return <div>
            <div className='card'>
        <div className="card-header">Credit</div>
        <div className="card-body">{this.props.credit}</div>
        </div>
        <div className='card'>
        <div className="card-header">Debit</div>
        <div className="card-body">{this.props.debit}</div>
        </div>
        <div className='card'>
        <div className="card-header">Total</div>
        <div className="card-body">{this.props.total}</div>
        </div>
        </div>
    }

}